/*
 * Date: 4-3-12
 * Description: Creates and calls the GUI and EventExecutor
 * 
 * Revisions:
 * -4/3/12 - John Gideon - Original
 */

public class Main {

	private static Gui gui;
	private static EventExecutor eventExecutor;
	
	public static void main(String[] args) {
		gui = new Gui();
		eventExecutor = new EventExecutor();
		gui.setEventExecutor(eventExecutor);
		eventExecutor.setGui(gui);
	}

}

/* Test Vectors:
* Push next 5 times
* Push new with INF = "skjd" PR = 50
* Push new with INF = "skjdr3" PR = 50
* Push new with INF = "ainf3" PR = 50
* Push next 1 time
* Push new with INF = "wetwe" PR = 3
* Push new with INF = "wetwe" PR = 201
* Push new with INF = "wetwe" PR = 100
* Push stop
* 
* Results:
Event Executed - Pr: 2  INF: auaez
    A. New Event Created - Pr: 8  INF: auaez
Event Executed - Pr: 4  INF: lpasz
    B. New Event Created - Pr: 44  INF: lpasz
Event Executed - Pr: 5  INF: rynwj
    B. New Event Created - Pr: 55  INF: rynwj
Event Executed - Pr: 8  INF: ctnel
    B. New Event Created - Pr: 88  INF: ctnel
Event Executed - Pr: 8  INF: auaez
    C. No new event was created
Invalid New Entry: Info is not 5 characters
Invalid New Entry: Info is not 5 characters
    New Event Added - Pr: 50  INF: ainf3
Event Executed - Pr: 9  INF: hponf
    B. New Event Created - Pr: 99  INF: hponf
Invalid New Entry: Priority is too small
Invalid New Entry: Priority is too large
    New Event Added - Pr: 100  INF: wetwe
Event Executed - Pr: 12  INF: wtywe
Event Executed - Pr: 13  INF: xdhyx
Event Executed - Pr: 14  INF: bammi
Event Executed - Pr: 14  INF: mxdqf
Event Executed - Pr: 16  INF: gumss
Event Executed - Pr: 17  INF: cdbhz
Event Executed - Pr: 18  INF: nljns
Event Executed - Pr: 18  INF: akrhn
Event Executed - Pr: 21  INF: wzqwc
Event Executed - Pr: 22  INF: esnri
Event Executed - Pr: 22  INF: gmdcv
Event Executed - Pr: 23  INF: pebuq
Event Executed - Pr: 26  INF: zcmkf
Event Executed - Pr: 26  INF: vzhmo
Event Executed - Pr: 30  INF: fqpek
Event Executed - Pr: 44  INF: lpasz
Event Executed - Pr: 50  INF: ainf3
Event Executed - Pr: 55  INF: rynwj
Event Executed - Pr: 88  INF: ctnel
Event Executed - Pr: 99  INF: hponf
Event Executed - Pr: 100  INF: wetwe
Event queue empty - execution complete
*/